@echo off
:start
start /b cmd /k python main.py
timeout /t 86400 >nul
taskkill /f /im python.exe
goto start